/*!
* \file robbus_master.h
* \brief Robbus master header
*
*  URL: http://robotika.cz/
*  
*  Revision: 1.0
*  Date: 2011/02/20
*/

#ifndef ROBBUS_MASTER_H
#define ROBBUS_MASTER_H

#include <avr/io.h>

#include "robbus_config.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef uint8_t* (*PtrFuncPtr_t)(uint8_t*);

//! initialize FSM
void RobbusMaster_Init(PtrFuncPtr_t cmdHandler);

void RobbusMaster_Send(uint8_t address, uint8_t length, uint8_t* data);

#ifdef __cplusplus
}
#endif

#endif

